package com.wealth.scsj.b_app.view.activity.storesettingmodel;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.wealth.scsj.b_app.R;
import com.wealth.scsj.b_app.view.activity.BaseActivity;

/**
 * 营业时间设置页面
 * @author qxp
 */
public class BusinessDataPageActivity extends BaseActivity implements View.OnClickListener{

    private TextView mTopTittleTv ,mTopRightTv,mBusinessDataStartTv,mBusinessDataEndTv;
    private ImageView mBtnBack;

    @Override
    protected void createView(Bundle savedInstanceState) {
        setContentView(R.layout.activity_business_data_page);
    }

    @Override
    protected void initView() {

        mTopTittleTv =findViewById(R.id.tv_top_tittle);
        mTopRightTv =findViewById(R.id.tv_top_right);
        mBusinessDataStartTv =findViewById(R.id.business_data_start_tv);
        mBusinessDataEndTv =findViewById(R.id.business_data_end_tv);
        mBtnBack =findViewById(R.id.btn_back);
    }

    @Override
    protected void initListener() {

        mBusinessDataStartTv.setOnClickListener(this);
        mBusinessDataEndTv.setOnClickListener(this);
        mBtnBack.setOnClickListener(this);
        mTopRightTv.setOnClickListener(this);
    }

    @Override
    protected void initData() {

        mTopRightTv.setText("保存");
        mTopTittleTv.setText("营业时间");
    }

    @Override
    public void onClick(View v) {

        switch (v.getId()){
            case R.id.business_data_start_tv:

                break;
            case R.id.business_data_end_tv:

                break;
            case R.id.btn_back:
                finish();
                break;
            case R.id.tv_top_right:

                break;

        }
    }
}
